<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<link href="__PUBLIC__/css/style.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/select-ui.min.js"></script>

<script type="text/javascript">
    KE.show({
        id : 'content7',
        cssPath : './index.css'
    });
  </script>
  
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 245			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
});
</script>
<script type="text/javascript">
	    function check(){

			if(form1.title.value=="")  
			{  	
					 alert("信息标题为必填！");
					 form1.title.focus();
					 return false;
					 
			}
		    
 		  	if(form1.type.value=="")  
	  		{  	
	  			 alert("栏目类型为必填！");
				 form1.type.focus();
				 return false;
	  		     
	  		}

			
			 return true;
		}
	</script>  
 <style>
			form {
				margin: 0;
			}
			textarea {
				display: block;
			}
		</style>
		<link rel="stylesheet" href="__PUBLIC__/kindeditor/examples/index.css" />
		<script charset="utf-8" src="__PUBLIC__/kindeditor/kindeditor.js"></script>
 		 <script>
		KE.show({
			id : 'content',
		
		});
	</script>
	</head>
 

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="./" target="_parent">首页</a></li>
    <li>信息管理></li>
    <li>信息添加</li>
    </ul>
    </div>
    
    <div class="formbody">
    
    
    <div id="usual1" class="usual"> 
    
    <div class="itab">
  	<ul> 
    <li><a href="#tab1" class="selected">信息添加</a></li> 

  	</ul>
    </div> 
    
  	<div id="tab1" class="tabson">
      
    <ul class="forminfo">
    <form name=form1 action="__URL__/add"   method="post" enctype="multipart/form-data">
     
    <li><label>信息标题<b>:</b></label><input name="title" type="text" class="dfinput" value=""  style="width:244px;"/></li> 
    <li><label>栏目名称<b>:</b></label>  
        <div class="vocation">
            <select class="select1" name="tid">
                 <option value="">——请选择栏目——</option>
					{volist name='type' id='type'}
		        <option   value="{$type.tid}">{$type.tname}</option> 
				{/volist}     </select>
        </div>
    </li>

  <li><label>上传图片<b>:</b></label><input name="pic" type="file" /></li>
	<!--   <li><label>上传附件<b>:</b></label><input name="xls" type="file" /></li> -->
     <li><label>信息内容<b>:</b></label>
		   	<textarea name="content" style="width:800px;height:400px;visibility:hidden;"></textarea>
		 
    </li>
 <!-- <li><label>是否显示<b>:</b></label>
		 <input type="radio" name="is_news" value="1"
            /> 是
         <input type="radio" name="is_news" value="0" checked /> 否
    </li> -->
    <li>
        <label>&nbsp;</label><input name="submit" type="submit" class="btn" onclick="return check();" value="提交"/>
		
    </li>
    </form>
    </ul>
   
    </div> 
    
    
  	<div id="tab2" class="tabson">
    
    </div>  
       
	</div> 
 
	<script type="text/javascript"> 
      $("#usual1 ul").idTabs(); 
    </script>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>
    
    
    
    
    
    </div>


</body>

</html>